﻿package plugin.fcm.handler
{
    import com.core.*;
    import pluginfw.nio.imsg.*;

    public class FcmGroupHandler extends Object implements IGroupHandler
    {
        private var _cfgitems:Object;

        public function FcmGroupHandler()
        {
            this._cfgitems = ConfigDictionary.data.item;
            return;
        }// end function

        public function dealSimpleMessage(param1:ISimpleMessage) : void
        {
            var _loc_2:String = null;
            switch(param1.getCmd())
            {
                case 2:
                {
                    _loc_2 = param1.getParam();
                    if (_loc_2.length > 0)
                    {
                        ModelProxy.change("movetips", "error", _loc_2);
                    }
                    else
                    {
                        ModelProxy.change("plugin", "close", "fcm");
                    }
                    break;
                }
                default:
                {
                    break;
                    break;
                }
            }
            return;
        }// end function

        public function dealBufferMessage(param1:IBufferMessage) : void
        {
            return;
        }// end function

        public function dealProxyMessage(param1:IProxyMessage) : void
        {
            return;
        }// end function

    }
}
